﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace Blog.Core.Domain.Model.User
{
    /// <summary>
    /// 部门用户关系表
    /// </summary>
    [Table("DepartmentUser")]
    public class DepartmentUser
    {
        /// <summary>
        /// 主键编号
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 部门编号
        /// </summary>
        [Display(Name = "部门编号")]
        public int DepartmentId { get; set; }
        /// <summary>
        /// 用户编号
        /// </summary>
        [Display(Name = "用户编号")]
        public int UserId { get; set; }
    }
}
